<?php
use Illuminate\Support\Facades\Route;
use App\Http\Controllers\Api\Ly\WxLoginController;
use App\Http\Controllers\Api\Ly\MortgageController;
use App\Http\Controllers\Api\Ly\LoginController;
use App\Http\Controllers\Api\Ly\CommuteController;
use App\Http\Controllers\Api\Ly\HouseController;


//授权登录
Route::post('user',[LoginController::class,'User']);
//手机号登录
Route::post('login',[LoginController::class,'login']);
//发送验证码
Route::post('send',[LoginController::class,'send']);
//小程序静默登录
Route::post('wxlogin',[WxLoginController::class,'login']);
//房贷计算器
Route::post('mortgage/debx',[MortgageController::class,'debx']);
//通勤找房（目的地+行程距离区域找房）
Route::get('index',[CommuteController::class,'index']);

//添加房源索引
Route::get('createFangEsIndex',[CommuteController::class,'createFangEsIndex']);
//通勤找房（目的地+行程距离区域找房）
Route::get('searchHouse',[CommuteController::class,'searchHouse']);

//房源详情
Route::get('house/detail',[HouseController::class,'detail']);
//房源展示
Route::get('house/show',[HouseController::class,'show']);
